﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Corvus
{
    public class PageNode : IWebResourceNode
    {
        public PageNode()
        {
            Translations = new Dictionary<string, IEntityReference>(StringComparer.OrdinalIgnoreCase);
            References = new List<IEntityReference>();
        }

        public string Id { get; set; }

        public string Name { get; set; }

        public IEntityReference<IWebResourceNode> Parent { get; set; }

        public IEntityReference<IFolder> Folder { get; set; }

        public IDictionary<string, IEntityReference> Translations { get; private set; }

        public ICollection<IEntityReference> References { get; private set; }
    }
}
